<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <div class="mc">
        <div>
            <div class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </div>
            <div class="mc-m">
                <div class="navToggle"></div>
            </div>
            <div class="mc-r">
                <!--顶部导航---{-->
                <#include "../topNav.html">
                    <!--顶部导航---}-->

                    <!--面包屑导航---{-->
                    <#assign moduleName="回款记录">
                        <#include "banner.html">
                            <!--面包屑导航---}-->

                            <!--工具栏--{-->
                            <div id="toolbar" class="clearfix">


                                <div class="toolbor-module export">
		 								&nbsp;&nbsp;&nbsp;项目总金额合计：${totalMap.account}<br/>
										&nbsp;&nbsp;&nbsp;回款总额合计：${totalMap.repaccount}<br/>
										&nbsp;&nbsp;&nbsp;回款准备金合计：${totalMap.backBalance}<br/>
										&nbsp;&nbsp;&nbsp;回款银行卡合计：${totalMap.backBank}
                                </div>
                                
                                <div class="toolbor-module search">
                                    <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                                </div>
                                
                                
                                 <div class="toolbor-module search">
                                    <div class="formTit">还款时间：</div>
                                    <input class="_search-value" name="startDate" id="startDate" value="" onclick="change_picktime()"/>
                                    <div class="formTit"> 到 </div>
                                    <input class="_search-value" name="endDate" id="endDate" value=""  onclick="change_picktime()"/>
                                </div>
                                
                                
                                
                                
                            </div>
                            <!--工具栏--}-->

                            <div id="main" class="clearfix">
                                <form action="" method="post">
                                    <table class="data-list">
                                        <tr class="header">
                                            <td>日期</td>
                                            <td>项目总金额</td>
                                            <td>回款总额</td>
                                            <td>回款至投资准备金</td>
                                            <td>回款至银行卡</td>
                                            <td>操作</td>
                                        </tr>
                                            <#list list as item>
                                                <tr class="s">
                                                    <td>${item.repayDate}</td>
		                                            <td>${item.sumAccount?c}</td>
		                                            <td>${item.sumRepayAccount?c}</td>
		                                            <td>${item.sumBalanceAccount?c}元</td>
		                                            <td>${item.sumBankCardAccount?c}元</td>
		                                            <td><a href='/admin/operate/searchRepDetail.html?searchtime=${item.repayDate}'>查看回款详情</a></td>
                                                </tr>
                                            </#list>

                                    </table>
                                </form>

                                <!--底部工具栏--{-->
                                <div id="bottomToolbar" class="clearfix">
                                    <div class="other-tool">
                                        <dl class="refresh-data">
                                            <dt class="refresh-data-icon"></dt>
                                            <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                        </dl>
                                    </div>

                                    <!--翻页系统--{-->
                                    <div class="container s_formPage">
                                        <#import "../../common/page.html" as pager>
                                            <@pager.pagination page=page url="${pageUrl}" map=param style="style1" />
                                    </div>
                                    <!--翻页系统--}-->
                                </div>
                                <!--底部工具栏--}-->

                                <script>
                                    var url = 'repayMentStatistics.html?search=true';
                                    function sousuo(){
                                    	 var sou = "";
                                         var startDate = $("#startDate").val();
                                         var endDate = $("#endDate").val();
                                         if (startDate!=null){
                                             sou += "&startDate="+startDate;
                                         }
                                         if (endDate!=null){
                                             sou += "&endDate="+endDate;
                                         }
                                         if (sou!=""){
                                             location.href=url+sou;
                                         }
                                    }
                                
                                </script>
                            </div>

            </div>
        </div>
        <div>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../foot.html"></td>
            <!--尾部--}-->
        </div>
    </div>

    </body>
</html>
<#include "../jsPage.html">
